<template>
  <el-table :data="data" :height="height" style="width: 100%">
    <el-table-column prop="itemName" label="辖区" width="150" />

    <el-table-column label="次数">
      <el-table-column prop="sgCount" label="数量" />
      <el-table-column prop="sgCountSub" label="比上年同期增减" />
      <el-table-column prop="sgCountYOY" label="增减百分百" />
    </el-table-column>

    <el-table-column label="死亡人数">
      <el-table-column prop="swrsCount" label="数量" />
      <el-table-column prop="swrsCountSub" label="比上年同期增减" />
      <el-table-column prop="swrsCountYOY" label="增减百分百" />
    </el-table-column>

    <el-table-column label="受伤人数">
      <el-table-column prop="ssrsCount" label="数量" />
      <el-table-column prop="ssrsCountSub" label="比上年同期增减" />
      <el-table-column prop="ssrsCountYOY" label="增减百分百" />
    </el-table-column>

    <el-table-column label="财产损失">
      <el-table-column prop="zjccss" label="数量" />
      <el-table-column prop="zjccssSub" label="比上年同期增减" />
      <el-table-column prop="zjccssYOY" label="增减百分百" />
    </el-table-column>
  </el-table>
</template>

<script setup>
defineProps({
  height: {
    type: Number,
    default: 500,
  },
  data: {
    type: Array,
  },
});
</script>

<style lang="less" scoped></style>
